#ifndef _KTV_VIEW_H_
#define _KTV_VIEW_H_

#include "ui_window.h"
#include "ui_error.h"
#include "SDL/SDL.h"


namespace UI
{

class UI_View : public UI_Window
{
public:
	UI_View();
	virtual ~UI_View(void);
	void SetFloatingWindow(UI_Window* pWindow) { m_pFloatingWindow = pWindow; }
	UI_Window* GetFloatingWindow(void) const { return m_pFloatingWindow; }
 	virtual void SetWindowRect(const UI_Rect& WindowRect);
	virtual bool HandleMessage(UI_Message* pMessage);
protected:
	UI_Window* m_pFloatingWindow;
	SDL_Surface* m_pScreenSurface;


private:
	static UI_View* m_pInstance;
	void operator=(UI_View) { }
public:
	static UI_View* GetView(void);
};

}

#endif // _KTV_VIEW_H_

